package com.hanqi.service.impl;

import com.hanqi.entity.SysRoleMenu;
import com.hanqi.dao.SysRoleMenuMapper;
import com.hanqi.service.SysRoleMenuService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zjk
 * @since 2019-04-27
 */
@Service
public class SysRoleMenuServiceImpl extends ServiceImpl<SysRoleMenuMapper, SysRoleMenu> implements SysRoleMenuService {

    @Override
    public boolean insertRoleMenu(String roleId, String[] menuIds) {
        return baseMapper.insertRoleMenu(roleId, menuIds);
    }
}
